import 'package:flutter/material.dart';


/// 设置align和padding
class WFAlignPadding extends StatelessWidget {
	final Alignment align;
	final EdgeInsetsGeometry padding;
	final Widget child;

	WFAlignPadding( this.align,this.padding, this.child);

	@override
	Widget build(BuildContext context) {
		return Align(
			alignment: align,
			child: Padding(
				padding: padding,
				child: child,
			),
		);
	}
}